package com.img.test;
//懒汉模式：静态内部类
public class Singleton3 {
    private static class SingletonInner{
        private static Singleton3 s = new Singleton3();
    }
    public static Singleton3 getInstance3(){
        return SingletonInner.s;
    }
}
